package com.zan.ojstudy.zanojcodesandbox;

import com.zan.ojstudy.zanojcodesandbox.model.ExecuteCodeRequest;
import com.zan.ojstudy.zanojcodesandbox.model.ExecuteCodeResponse;
import org.springframework.stereotype.Component;

/**
 * @Author : Zan
 * @Create : 2024/6/4 21:03
 * @ClassName : JavaNativeCodeSandBox
 * @Description : Java原生代码沙箱实现（直接复用模板方法）
 */
@Component
public class JavaNativeCodeSandBox extends JavaCodeSandBoxTemplate {

    @Override
    public ExecuteCodeResponse executeCode(ExecuteCodeRequest executeCodeRequest) {
        return super.executeCode(executeCodeRequest);
    }
}
